package com.star.base.service;

import com.star.base.dao.BaseMapper;
import com.star.exception.MyException;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class BaseServiceImpl<T> implements BaseService<T> {

    @Autowired
    private BaseMapper<T> baseMapper;

    @Override
    public List<T> selectAll() {

        return baseMapper.selectAll();
    }
}
